package com.share.design.factory.abs;

/**
 * author:caifan
 * date:2020/2/4
 */
public class AbsFactoryClient {
    public static void main(String[] args) {
        AbstractFactory appleFactory = new AppleFactory();
        Juice appleJuice = appleFactory.createJuice();
        Pie applePie = appleFactory.createPie();
        appleJuice.desc();
        applePie.desc();
    }
}
